package entity;

import java.sql.Date;

public class Borrow {

	private String bookid;
	private String bookname;
	private String cardid;
	private String name;
	private Date bDate;
	private Date rDate;
	private Date sDate;
	private int renew;

	public Borrow(){
		
	}
	
	public Borrow(String bookid,String cardid,Date bDate,Date rDate){
		this.bookid=bookid;
		this.cardid=cardid;
		this.bDate=bDate;
		this.rDate=rDate;
	}
	
	public Borrow(String bookid,String cardid,Date bDate,Date rDate,Date sDate,int renew){
		this.bookid=bookid;
		this.cardid=cardid;
		this.bDate=bDate;
		this.rDate=rDate;
		this.sDate=sDate;
		this.renew=renew;
	}
	
	public Borrow(String bookid,String bookname,String cardid,String name,Date bDate,Date rDate,Date sDate,int renew){
		this.bookid=bookid;
		this.bookname=bookname;
		this.cardid=cardid;
		this.name=name;
		this.bDate=bDate;
		this.rDate=rDate;
		this.sDate=sDate;
		this.renew=renew;
	}
	
	public String getBookid(){
		return bookid;
	}
	
	public void setBookid(String bookid){
		this.bookid=bookid;
	}
	
	public String getBookname(){
		return bookname;
	}
	
	public void setBookname(String bookname){
		this.bookname=bookname;
	}
	
	public String getCardid(){
		return cardid;
	}
	
	public void setCardid(String cardid){
		this.cardid=cardid;
	}
	
	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name=name;
	}
	
	public Date getBDate(){
		return bDate;
	}
	
	public void setBDate(Date bDate){
		this.bDate=bDate;
	}
	
	public Date getSDate(){
		return sDate;
	}
	
	public void setSDate(Date sDate){
		this.sDate=sDate;
	}
	
	public int getRenew(){
		return renew;
	}
	
	public void setRenew(int renew){
		this.renew=renew;
	}
	
	public Date getRDate(){
		return rDate;
	}

	public void setRDate(Date rDate){
		this.rDate=rDate;
	}

}
